package com.dada.tiku.dao.mapper;

import com.dada.tiku.pojo.TSubject;
import com.dada.tiku.pojo.TSubjectExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TSubjectMapper {
    int countByExample(TSubjectExample example);

    int deleteByExample(TSubjectExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TSubject record);

    int insertSelective(TSubject record);

    List<TSubject> selectByExample(TSubjectExample example);

    TSubject selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TSubject record, @Param("example") TSubjectExample example);

    int updateByExample(@Param("record") TSubject record, @Param("example") TSubjectExample example);

    int updateByPrimaryKeySelective(TSubject record);

    int updateByPrimaryKey(TSubject record);
}